 

    {if condition="$obj['vod_jumpurl'] neq ''"}
    (function(){
        var wait = document.getElementById('wait'),
            href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                top.location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
    {/if}

  
var vod_name='{$obj.vod_name|ffcms_substring=10}',vod_url=window.location.href,vod_part='{$obj['vod_play_list'][$param['sid']]['urls'][$param['nid']]['name']}';
  

    	var PlayLeft = $(".stui-player__left");
    	var PlaySide = $(".stui-player__side")
		var LeftHeight = PlayLeft.outerHeight();
		var BoxHeight = parseInt(LeftHeight)-51;
		var Position = $(".stui-play__list li.active").position().top;				
		var PositionBox = parseInt(Position)-100;		
		if(!stui.browser.useragent.mobile){	
			PlaySide.css("height",LeftHeight);
			$("#play-box").find(".item").css({"height":BoxHeight,"overflow":"auto"}).scrollTop(PositionBox);	
		}
	
  
$(".FeifeiPlayer").addClass("embed-responsive").css({"padding-bottom":"56.25%","z-index":"99"}); 
  

    	$(".open-screen").click(function(){ 		
    		var display = $('#screenbox').css('display');
	  		if(display == 'block'){
	  			$("#screenbox").slideUp("slow");  
	  			$(this).html('展开 <i class="iconfont icon-moreunfold"></i>')				
			}else{
				$("#screenbox").slideDown("slow");  
				$(this).html('收起 <i class="iconfont icon-less"></i>')
			}
  		});
    
  
    	
  		$(".open-screen").click(function(){ 		
    		var display = $('#screenbox').css('display');
	  		if(display == 'block'){
	  			$("#screenbox").slideUp("slow");  
	  			$(this).html('展开 <i class="iconfont icon-moreunfold"></i>')				
			}else{
				$("#screenbox").slideDown("slow");  
				$(this).html('收起 <i class="iconfont icon-less"></i>')
			}
  		});
    
 